home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
bbstvi30.zip
/
VI.REF
< prev
Wrap
Internet Message Format
|
1992-08-16
|
35KB
From: jesse@gumby.Altos.COM (Jesse Chisholm AAC-RjesseD)
Newsgroups: alt.bbs.waffle
Subject: Re: BBStevie 2.0
Message-ID: <4918@gumby.Altos.COM>
Date: 12 Jun 91 03:54:19 GMT
References: <RcJs31w164w@cybrspc>
Organization: Altos Computer Systems, San Jose, CA
Lines: 671
Article-I.D.: gumby.4918
roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes:
| jzl@micasa.guild.org (Jack Z. Lupic - VE3FAE) writes:
|
| > Could you please post the full DOC file for BBStevie so that us non-Unix
| > types can use it.
|
| Does anyone have a vi man page sitting around? BBStevie does just about
| everything except macros.
Here is a VI reference document that was on another newsgroup awhile ago.
Jesse Chisholm | Disclaimer: My opinions are rarely understood, let
jesse@altos86.altos.com | tel: 1-408-432-6200 | alone held, by this company.
jesse@gumby.altos.com | fax: 1-408-435-8517 |-----------------------------
======== This company has officially disavowed all knowledge of my opinions.
--- cut to vi.ref ---
////////////////////////////////////////////////////////////////////////
/ VI REFERENCE /
////////////////////////////////////////////////////////////////////////
Warning: some vi versions don't support the more esoteric features
described in this document. You can edit/redistribute this document
freely, as long as you don't make false claims on original authorship.
Author: Maarten Litmaath <maart@cs.vu.nl>
Version: 7
/////////////////
/ contributions /
/////////////////
Rich Salz <rsalz@bbn.com>
Eamonn McManus <emcmanus@cs.tcd.ie>
Diomidis Spinellis <diomidis%ecrcvax.uucp@pyramid.pyramid.com>
Blair P. Houghton <bph@buengc.bu.edu>
Rusty Haddock <{uunet,att,rutgers}!mimsy.umd.edu!fe2o3!rusty>
Panos Tsirigotis <panos@boulder.colorado.edu>
David J. MacKenzie <djm@wam.umd.edu>
Kevin Carothers <kevin@ttidca.tti.com>
Dan Mercer <mercer@ncrcce.StPaul.NCR.COM>
Ze'ev Shtadler <steed@il4cad.intel.com>
Paul Quare <pq@r2.cs.man.ac.uk>
Dave Beyerl <att!ihlpl!db21>
///////////
/ legenda /
///////////
default values : 1
<*> : `*' must not be taken literally
[*] : `*' is optional
^X : <ctrl>X
<sp> : space
<cr> : carriage return
<lf> : linefeed
<ht> : horizontal tab
<esc> : escape
<erase> : your erase character
<kill> : your kill character
<intr> : your interrupt character
<a-z> : an element in the range
N : number (`*' = allowed, `-' = not appropriate)
CHAR : char unequal to <ht>|<sp>
WORD : word followed by <ht>|<sp>|<lf>
/////////////////
/ move commands /
/////////////////
N | Command | Meaning
---+--------------------+-----------------------------------------------
* | h | ^H | <erase> | <*> chars to the left.
* | j | <lf> | ^N | <*> lines downward.
* | l | <sp> | <*> chars to the right.
* | k | ^P | <*> lines upward.
* | $ | To the end of line <*> from the cursor.
- | ^ | To the first CHAR of the line.
* | _ | To the first CHAR <*> - 1 lines lower.
* | - | To the first CHAR <*> lines higher.
* | + | <cr> | To the first CHAR <*> lines lower.
- | 0 | To the first char of the line.
* | | | To column <*> (<ht>: only to the endpoint).
* | f<char> | <*> <char>s to the right (find).
* | t<char> | Till before <*> <char>s to the right.
* | F<char> | <*> <char>s to the left.
* | T<char> | Till after <*> <char>s to the left.
* | ; | Repeat latest `f'|`t'|`F'|`T' <*> times.
* | , | Idem in opposite direction.
* | w | <*> words forward.
* | W | <*> WORDS forward.
* | b | <*> words backward.
* | B | <*> WORDS backward.
* | e | To the end of word <*> forward.
* | E | To the end of WORD <*> forward.
* | G | Go to line <*> (default EOF).
* | H | To line <*> from top of the screen (home).
* | L | To line <*> from bottom of the screen (last).
- | M | To the middle line of the screen.
* | ) | <*> sentences forward.
* | ( | <*> sentences backward.
* | } | <*> paragraphs forward.
* | { | <*> paragraphs backward.
- | ]] | To the next section (default EOF).
- | [[ | To the previous section (default begin of file).
- | `<a-z> | To the mark.
- | '<a-z> | To the first CHAR of the line with the mark.
- | `` | To the cursor position before the latest absolute
| jump (of which are examples `/' and `G').
- | '' | To the first CHAR of the line on which the cursor
| was placed before the latest absolute jump.
- | /<string> | To the next occurrence of <string>.
- | ?<string> | To the previous occurrence of <string>.
- | n | Repeat latest `/'|`?' (next).
- | N | Idem in opposite direction.
- | % | Find the next bracket and go to its match
| (also with `{'|`}' and `['|`]').
/////////////////////////
/ searching (see above) /
/////////////////////////
:ta <name> | Search in the tags file[s] where <name> is
| defined (file, line), and go to it.
^] | Use the name under the cursor in a `:ta' command.
^T | Pop the previous tag off the tagstack and return
| to its position.
:[x,y]g/<string>/<cmd> | Search globally [from line x to y] for <string>
| and execute the `ex' <cmd> on each occurrence.
:[x,y]v/<string>/<cmd> | Execute <cmd> on the lines that don't match.
///////////////////
/ undoing changes /
///////////////////
u | Undo the latest change.
U | Undo all changes on a line, while not having
| moved off it (unfortunately).
:q! | Quit vi without writing.
:e! | Re-edit a messed-up file.
///////////////////////////////////
/ appending text (end with <esc>) /
///////////////////////////////////
* | a | <*> times after the cursor.
* | A | <*> times at the end of line.
* | i | <*> times before the cursor (insert).
* | I | <*> times before the first CHAR of the line
* | o | On a new line below the current (open).
| The count is only useful on a slow terminal.
* | O | On a new line above the current.
| The count is only useful on a slow terminal.
* | ><move> | Shift the lines described by <*><move> one
| shiftwidth to the right.
* | >> | Shift <*> lines one shiftwidth to the right.
* | ["<a-zA-Z1-9>]p | Put the contents of the (default undo) buffer